package com.ldu.pojo;

import lombok.Data;

import java.io.Serializable;

/**
 * 管理员
 * @author lyq
 *
 */
@Data
public class Admin implements Serializable {
	private Long id;//id
	private String username;//用户名
	private Long phone;//账号
	private String password;//密码
	private String relPassword;
	private Integer userRole;//角色
	/**
	 * <p> 角色名称 </p>
	 */
	private String userRoleName;
	
	@Override
	public String toString() {
		return "Admin [id=" + id + ", userName=" + username + ", phone=" + phone + ", password=" + password
				+ ", userRole=" + userRole + "]";
	}
	
	
}
